# 数列合函数
def calcSum(beg, end):
    sum = 0
    for i in range(beg,end+1):
        sum += i
    print(f"{beg}到{end}的合为：{sum}")
    return sum

def getPoint():
    x = 10
    y = 20
    return x, y

# 调用函数
res = calcSum(1, 100)
print(res)
a, b = getPoint()
_, c = getPoint()   # 只关注某个返回值
print(a, b)
